package com.nightpiter.view.graphics;

public class Point {

	public int x;
	public int y;

	public Point() {
		this.x = 0;
		this.y = 0;
	}

	public Point(Point other) {
		this.x = other.x;
		this.y = other.y;
	}

	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}

	@Override
	public boolean equals(Object o) {
		if (o instanceof Point) {
			Point other = (Point) o;
			return (this.x == other.x && this.y == other.y);
		} else {
			return false;
		}
	}

	public String toString() {
		return "(" + x + ";" + y + ")";
	}

}
